class Player09(_name:String){
    //所以要把name提上来赋值，顺序会影响初始化顺序
    val playerName:String = initPlayerName()
    val name:String = _name
    private fun initPlayerName() = name
}

fun main() {
    //会先调用playerName，再调用构造函数的name=jack
   println(Player09("jack").playerName)
}